<script src="<?php echo base_url() ?>ckeditor/ckeditor.js"></script>
<script src="<?php echo base_url() ?>ckeditor/adapters/jquery.js"></script>
<style>

#editable
{
	padding: 10px;
	float: left;
}
</style>
<script>

CKEDITOR.disableAutoInline = true;

$( document ).ready( function() {
      $( '#editor1' ).ckeditor(); // Use CKEDITOR.replace() if element is <textarea>.
      $( '#editor2' ).ckeditor(); // Use CKEDITOR.replace() if element is <textarea>.
      $( '#editable' ).ckeditor(); // Use CKEDITOR.inline().
  } );

function setValue() {
	$( '#editor1' ).val( $( 'input#val' ).val() );
	$( '#editor2' ).val( $( 'input#va2' ).val() );
}

</script>
<?php echo $this->load->view($menu_member); ?>
<div class="content-skeleton">
<?php $attributs = 'class="mws-form"'?>
<?php echo form_open_multipart('modul/halaman_member/update', $attributs) ?>

<div class="mws-panel grid_8">
	<div class="mws-panel-body no-padding">
		
		<?php foreach($member as $m){ ?>
		<div class="mws-form-row">
			<label class="mws-form-label">Nama</label>
			<div class="mws-form-item">
				
				<?php echo form_input('nama_member', $m->nama_member, 'class="small"'); ?><br />
			</div>
		</div>
		<div class="mws-form-row">
			<label class="mws-form-label">Alamat</label>
			<div class="mws-form-item">
				
				<?php echo form_input('alamat_member', $m->alamat_member, 'class="small"'); ?><br />
			</div>
		</div>
		<div class="mws-form-row">
			<label class="mws-form-label">No Kontak</label>
			<div class="mws-form-item">
				
				<?php echo form_input('kontak_member', $m->kontak_member, 'class="small"'); ?><br />
			</div>
		</div>
		<div class="mws-form-row">
			<label class="mws-form-label">Foto Profile</label>
			<div class="mws-form-item">
				<input type="file" name="userfile" size="20" /><br />
				<?php echo $m->foto_member; ?><br>
				<img width="150" src="<?php echo base_url() . $m->foto_member; ?>">
			</div>
		</div>
		
		<?php } ?>
		
</div>


<div class="mws-panel grid_8">
	<div class="mws-button-row">
		<?php echo form_submit('submit', 'Submit', 'class="btn btn-danger"'); ?>
	</div>
</div>
</div>

<?php echo form_close()?>
</div>
<div class="some_blank_space"></div>
 